#ifndef _BULLET_H_
#define _BULLET_H_

#include "YoghurtGum.h"

namespace YoghurtGum
{

	class Bullet : public Object
	{

	public:

		Bullet(int a_X, int a_Y)
		{
			m_X = a_X;
			m_Y = a_Y;
			m_Sprite = Assets::GetSprite("bullet");
		}

		void Update()
		{
			m_Y -= 2;
			if (m_Y < -5) { Engine::game->current->DeleteObject(this); }
		}

	}; // class Bullet

}; // namespace YoghurtGum

#endif